After The Fall (Vertical slice)

This project is a vertical slice I helped to create in the HLO in Hilversum. The inspiration for the game is from a game called After The Fall a VR game from the company Vertigo Games. The team and I met two of the producers behind the game. With a couple tips from them we started to make the VR game in Unreal Engine 5.

Project details:

  • code language : blueprint

  • Software : Unreal Engine, Trello

  • Team size : 20

  • My role : Developer

  • Date : 21 December 2022 - 1 February 2023

NOTE : GitHub and Trello are private

My Contribution

My main purpose was to help develop a couple features for the vertical slice. I helped making the shooting mechanic, reload mechanic and the ammo box.


Shoot mechanic

When you shoot the gun it will start a line trace in the forward direction. When the line trace hit something it will look if the actor has a IHittable interface on him. If this is the case it will damage the actor.

In the case you don`t hit an actor with the IHittable interface, the line trace will look what for physics material in on the object that you have hit. Depending on the physics material it will play a hit effect.


Reload mechanic

When you want to reload the gun you first need to eject the old magazine. When you eject the magazine it will drop on the ground and it clears the magazine reference on the gun.

When you have a magazine in your hand and hold it to the bottom of the gun the magazine will clip in the gun. When the new magazine is in the gun the magazine reference will be set with the new one.


Ammo box

You can open the ammo box in two ways. You can shoot the lock with the gun, or you can hit the lock with the gun itself.

Once you`ve opened the ammo box, two magazines will spawn that you can pick up manually and store in your ammo belt, or you can directly load them into your gun using the reload mechanic